package com.yibo.message.service.cmd.emailservice;

import com.yibo.db.message.entity.EmailServerEntity;
import com.yibo.support.inter.Command;

/**
 * 查询一个优先级最高的邮箱服务实体
 *
 * @author zhanglei
 */
public class SingleEmailServerCommand implements Command<EmailServerEntity> {

    @Override
    public EmailServerEntity execute() {
        return new EmailServerEntity()
                .setHost("smtp.163.com")
                .setUserName("lei18226792013@163.com")
                .setPassword("zhanglei123456")
                .setPort(25);
    }
}
